import Vue from 'vue'
import App from './App.vue'
import dataV from '@jiaminghi/data-view'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import axios from 'axios'
import router from './router/index.js'
// axios.defaults.baseURL = 'http://192.168.1.197:8880'
axios.defaults.baseURL = 'http://grove.cpzsyun.com:81/api'
// axios.interceptors.request.use(config=>{
//   config.headers.token = window.sessionStorage.getItem('token');
//   return config
// })
Vue.use(ElementUI);
Vue.prototype.$https = axios
Vue.use(dataV)
Vue.config.productionTip = false
new Vue({
  render: h => h(App),
  router,
}).$mount('#app')
